
package com.google.code.virtualhockey.vhx.client;


import com.google.code.virtualhockey.vhx.client.vp.ContentPresenter;
import com.google.code.virtualhockey.vhx.client.vp.HeaderPresenter;
import com.google.code.virtualhockey.vhx.client.vp.MainView;
import com.google.code.virtualhockey.vhx.client.vp.MenuPresenter;
import com.mvp4g.client.annotation.Debug;
import com.mvp4g.client.annotation.Debug.LogLevel;
import com.mvp4g.client.annotation.Event;
import com.mvp4g.client.annotation.Events;
import com.mvp4g.client.annotation.Start;
import com.mvp4g.client.event.EventBus;

/**
 * Main event bus (see MVP4G framework for details).
 */
@Events( startView = MainView.class )
@Debug( logLevel = LogLevel.DETAILED )
public interface VhxEventBus extends EventBus {

  @Start
  @Event( handlers = { ContentPresenter.class, HeaderPresenter.class, MenuPresenter.class } )
  public void start();
}
